package controllers;

import java.util.Vector;
import system.View;

abstract class 
AbstractMenuController 
extends AbstractController 
{	protected CustomerController customer;
	protected HasSongController has_song;
	protected ItemController item;
	protected LeadSingerController lead_singer;
	protected PurchaseItemController purchased_item;
	protected PurchaseController purchase;
	protected ReturnItemController return_item;
	protected ReturnTransactionController return_transaction;
	protected ShipItemController ship_item;
	protected ShipmentController shipment;
	protected StoredController stored;
	protected StoreController store;
	protected SupplierController supplier;

	public 
	AbstractMenuController(View v) 
	{ 	super(v); 
	
		customer = new CustomerController(view);
		has_song = new HasSongController(view);
		item = new ItemController(view);
		lead_singer = new LeadSingerController(view);
		purchase = new PurchaseController(view);
		purchased_item = new PurchaseItemController(view);
		return_item = new ReturnItemController(view);
		return_transaction = new ReturnTransactionController(view);
		ship_item = new ShipItemController(view);
		shipment = new ShipmentController(view);
		stored = new StoredController(view);
		store  = new StoreController(view);
		supplier = new SupplierController(view);
	}

	@Override
	public int 
	validateInsert(Vector<String> s) { return OPERATIONSUCCESS; }

	@Override
	public int 
	validateDelete(Vector<String> s) {  return OPERATIONSUCCESS; }
}
